import request from '@/configs/axios'
import { LoginParam } from './user/model'

enum Apis {
  login = '/mock/login'
}

export function login(data: LoginParam) {
  return request.post(Apis.login, data)
}